Skip to content

BUG: Use getfullargspec() on Python 3 #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2014

Conversation

takluyver
Copy link
Contributor

getargspec() can fail with a ValueError (which is uncaught) on Python 3 if a function has annotations or keyword only arguments. getfullargspec() handles these cases. formatargspec() optionally takes the extra three arguments, so no further change is needed.

@takluyver
Copy link
Contributor Author

Ping - it would be good to get this in. Thanks.

@juliantaylor
Copy link
Contributor

looks fine, thanks

juliantaylor added a commit that referenced this pull request Mar 24, 2014
BUG: Use getfullargspec() on Python 3
@juliantaylor juliantaylor merged commit 56a1b39 into numpy:master Mar 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants